import Router from 'koa-router'

const router = new Router()

router.get('/', async (ctx) => {
  ctx.body = 'book api'
})

router.get('/home', async (ctx, next) => {
  ctx.body = 'book home'
  await next()
})

export default router
